package com.lywz.biz.common.entity.scenic;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import com.lywz.core.entity.AbstractEntity;

@Entity
@Table(name = "t_scenic_around")
@NamedQueries( { @NamedQuery(name = "scenic.getAroundScenicList", query = "from ScenicAround where scenicBelongsTo =:scenicId") })
public class ScenicAround extends AbstractEntity {

    private static final long serialVersionUID = 5882949476473591599L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    private Integer scenicBelongsTo;

    private Integer scenicArroundId;

    private String imageUrl;

    private String name;

    //////////Setters and getters//////////
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getScenicBelongsTo() {
        return scenicBelongsTo;
    }

    public void setScenicBelongsTo(Integer scenicBelongsTo) {
        this.scenicBelongsTo = scenicBelongsTo;
    }

    public Integer getScenicArroundId() {
        return scenicArroundId;
    }

    public void setScenicArroundId(Integer scenicArroundId) {
        this.scenicArroundId = scenicArroundId;
    }

}
